package com.shopping.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.shopping.model.Address;
import com.shopping.param.AddressParam;

public interface AddressMapper {
    int deleteByPrimaryKey(Integer addrid);

    int insert(Address record);

    int insertSelective(Address record);

    Address selectByPrimaryKey(Integer addrid);

    int updateByPrimaryKeySelective(Address record);

    int updateByPrimaryKey(Address record);

	List<Address> select(AddressParam param);
	
	public int count(@Param(value = "delflag") String delflag);

	/**
	 * 多删除
	 * @param idss
	 */
	public int batchDelete(@Param(value="ids") String[] idss);
}